Constrained Test Order ^^^^^ **Definition:** * Tests expecting to be run in a specific order or expecting information from other test results **Code Example:** .. code-block:: csharp [TestFixture] public class IsolationsAntiPatterns { private LogAnalyzer logan; [Test] public void CreateAnalyzer_BadFileName_ReturnsFalse() { logan = new LogAnalyzer(); logan.Initialize(); bool valid = logan.IsValid("abc"); Assert.That(valid, Is.False); } [Test] public void CreateAnalyzer_GoodFileName_ReturnsTrue() { bool valid = logan.IsValid("abcdefg"); Assert.That(valid, Is.True); } } **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `Chapter 8. The pillars of good unit tests `_ :octicon:`file-code;1em` :octicon:`comment-discussion;1em` :octicon:`sync;1em`